<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/jquery-3.5.1.min.js"></script>
</head>
<body>
    <script>
        $.ajax({
            // 请求方式
            type:'get',
            // 请求地址
            url:'https://api.vvhan.com/api/bing?type=json ',
            // 成功的回调
            success:function(data){
                console.log(data);
            },
            error:function(err){
                console.log(err);
            },
            complete:function(){
                console.log('我都会执行');
                
            }
        })
    </script>
</body>
</html>